home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / pgp23src.zip / MDFILE.H < prev    next >
C/C++ Source or Header  |  1993-05-09  |  602b  |  18 lines

  1. /*    mdfile.h - C headers for PGP MD5 Message digest routines.
  2.     PGP 1.0 used MD4, now we use MD5.
  3. */
  4.  
  5. #include "md5.h"    /* for MD5 message digest stuff */
  6.  
  7. /* Prototypes for MD5 routines */
  8.  
  9. /* Computes and returns the message digest from file position,longcount bytes */
  10. int MDfile0_len(MD5_CTX *mdContext, FILE *f, word32 longcount);
  11.  
  12. /* Computes the message digest for a specified file */
  13. int MDfile(MD5_CTX *mdContext,char *filename);
  14.  
  15. /* Used to finish the message digest, including extra material. */
  16. void MD_addbuffer (MD5_CTX *mdContext, byte *buf, int buflen, byte digest[16]);
  17.  
  18.